<h1>Listing projections</h1>

<table>
  <tr>
    <th>Bug list</th>
    <th>Project person</th>
    <th>Date</th>
    <th>Bug count</th>
  </tr>

<% for projection in @projections %>
  <tr>
    <td><%=h projection.bug_list_id %></td>
    <td><%=h projection.project_person %></td>
    <td><%=h projection.date %></td>
    <td><%=h projection.bug_count %></td>
    <td><%= link_to 'Show', projection %></td>
    <td><%= link_to 'Edit', edit_projection_path(projection) %></td>
    <td><%= link_to 'Destroy', projection, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New projection', new_projection_path %>
